import { printUnitNum } from './../adjustingSetting/printUnit';
const newObj: any = {
  paperFeedFault200: 0,
  paperFeedFault201: 0,
  paperFeedFault202: 0,
  paperFeedFault203: 0,
  paperFeedFault204: 0,
  paperFeedFault205: 0,
  paperFeedFault206: 0,
  paperFeedFault207: 0,
  paperFeedFault208: 0,
  paperFeedFault209: 0,
  paperFeedFault210: 0,
  paperFeedFault211: 0,
  paperFeedFault212: 0,
  paperFeedFault213: 0,
  paperFeedFault214: 0,
  paperFeedFault215: 0,
  paperFeedFault300: 0,
  paperFeedFault301: 0,
  paperFeedFault302: 0,
  paperFeedFault303: 0,
  paperFeedFault304: 0,
  paperFeedFault305: 0,
  paperFeedFault306: 0,
  paperFeedFault307: 0,
  paperFeedFault315: 0,
  slotting200: 0,
  slotting201: 0,
  slotting202: 0,
  slotting203: 0,
  slotting204: 0,
  slotting205: 0,
  slotting206: 0,
  slotting207: 0,
  slotting208: 0,
  slotting209: 0,
  slotting210: 0,
  slotting211: 0,
  slotting212: 0,
  slotting213: 0,
  slotting214: 0,
  slottingBias200: 0,
  slottingBias201: 0,
  slottingBias202: 0,
  slottingBias203: 0,
  slottingBias204: 0,
  slottingBias205: 0,
  slottingBias206: 0,
  slottingBias207: 0,
  slottingBias208: 0,
  slottingBias209: 0,
  slottingBias210: 0,
  slottingBias211: 0,
  slottingBias215: 0,
  dieCutting200: 0,
  dieCutting201: 0,
  dieCutting202: 0,
  dieCutting203: 0,
  dieCutting204: 0,
  dieCutting205: 0,
  dieCutting206: 0,
  dieCutting207: 0,
  dieCutting208: 0,
  dieCutting209: 0,
  dieCutting210: 0,
  dieCutting211: 0,
  dieCutting212: 0,
  dieCutting215: 0
};

const lengList = [
  'Printing200',
  'Printing201',
  'Printing202',
  'Printing203',
  'Printing204',
  'Printing205',
  'Printing206',
  'Printing207',
  'Printing208',
  'Printing209',
  'Printing210',
  'Printing211',
  'Printing212',
  'Printing213',
  'Printing214',
  'Printing215'
];

for (let i = 0; i < printUnitNum; i++) {
  const key = i + 1;
  for (let index = 0; index < lengList.length; index++) {
    const keyName = key + lengList[index];
    newObj[keyName] = 0;
  }
}

export default newObj;
